package vidas;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.event.KeyEvent;


public class Base extends Figura{

public int k,m;


    public Base(Integer x0, Integer y0, Integer w0, Integer h0, Color c, 
            Lienzo l){
        super(x0, y0, w0, h0, c, l); 
    }

    @Override
    public void dibujate(Graphics g) {
        g.setColor(color);
        k=x;m=y;
        g.fillRect(x, y, w, h);
    }  

    @Override
    public void colisionoCon(Movil c) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

   
    @Override
    public void colisionoCon(Figura c) {
        throw new UnsupportedOperationException("Not supported yet.");
    }   

    @Override
    public void colisionoCon(Pared c) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void colisionoCon(Base c) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void keyTyped(KeyEvent e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void keyPressed(KeyEvent e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void keyReleased(KeyEvent e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
